package com.zzyl.quartz.task;

import com.zzyl.nursing.service.IContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description ContractJobTask
 * @Author zhanganliang
 * @Date 2025-02-21  11:50
 */
@Component("ContractJobTask")
public class ContractJobTask {
    @Autowired
    private IContractService iContractService;
    public void update()
    {
        iContractService.updateContractStatusJob();
        System.out.println("批量更新合同状态更新成功");
    }

}
